package com.exp.bookhouse.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import springfox.documentation.annotations.ApiIgnore;

import java.io.Serializable;

@ApiModel("书籍VO")
public class BookVo implements Serializable {

    @ApiModelProperty(value = "书籍id")
    private Long bookId;            //书本id

    @ApiModelProperty(value = "书籍小图")
    private String BookIcon;        //书的小图

    @ApiModelProperty(value = "书名")
    private String bookName;        //书名

    @ApiModelProperty(value = "单价，单位：分")
    private Long bookPrice;       //书本的价格

    @ApiModelProperty(value = "非编辑状态是否选中")
    private Boolean active;         //非编辑状态是否选中

    @ApiModelProperty(value = "书本的数量")
    private Integer bookQuantity;   //书本的数量

    @ApiModelProperty(value = "编辑状态是否选中")
    private Boolean delActive;      //编辑状态是否选中


    public BookVo() {
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getBookIcon() {
        return BookIcon;
    }

    public void setBookIcon(String bookIcon) {
        BookIcon = bookIcon;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Long getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Long bookPrice) {
        this.bookPrice = bookPrice;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }

    public Integer getBookQuantity() {
        return bookQuantity;
    }

    public void setBookQuantity(Integer bookQuantity) {
        this.bookQuantity = bookQuantity;
    }

    public Boolean getDelActive() {
        return delActive;
    }

    public void setDelActive(Boolean delActive) {
        this.delActive = delActive;
    }

    @Override
    public String toString() {
        return "BookVo{" +
                "bookId=" + bookId +
                ", BookIcon='" + BookIcon + '\'' +
                ", bookName='" + bookName + '\'' +
                ", bookPrice=" + bookPrice +
                ", active=" + active +
                ", bookQuantity=" + bookQuantity +
                ", delActive=" + delActive +
                '}';
    }
}
